using fit;

namespace fat
{
	public class TextToHtmlFixture: ColumnFixture
	{
		public string Text;

		public string HTML()
		{
			Text = unescapeAscii(Text);
			return escape(Text);
		}

		string unescapeAscii(string text)
		{
			text = text.Replace("\\n", "\n");
			text = text.Replace("\\r", "\r");
			return text;
		}
	}
}